Optimal. Leaf size=221 \[ \frac{\tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (-5 \sqrt{a} \sqrt{b} e-3 a g+21 b c\right )}{64 a^{11/4} b^{5/4}}+\frac{\tanh ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (5 \sqrt{a} \sqrt{b} e-3 a g+21 b c\right )}{64 a^{11/4} b^{5/4}}+\frac{x \left (-a g+7 b c+6 b d x+5 b e x^2\right )+4 a f}{32 a^2 b \left (a-b x^4\right )}+\frac{3 d \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} \sqrt{b}}+\frac{x \left (a g+b c+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.263298, antiderivative size = 221, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 7, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.226, Rules used = {1858, 1854, 1876, 275, 208, 1167, 205} \[ \frac{\tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (-5 \sqrt{a} \sqrt{b} e-3 a g+21 b c\right )}{64 a^{11/4} b^{5/4}}+\frac{\tanh ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (5 \sqrt{a} \sqrt{b} e-3 a g+21 b c\right )}{64 a^{11/4} b^{5/4}}+\frac{x \left (-a g+7 b c+6 b d x+5 b e x^2\right )+4 a f}{32 a^2 b \left (a-b x^4\right )}+\frac{3 d \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} \sqrt{b}}+\frac{x \left (a g+b c+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1858
Rule 1854
Rule 1876
Rule 275
Rule 208
Rule 1167
Rule 205
Rubi steps
\begin{align*} \int \frac{c+d x+e x^2+f x^3+g x^4}{\left (a-b x^4\right )^3} \, dx &=\frac{x \left (b c+a g+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2}+\frac{\int \frac{7 b c-a g+6 b d x+5 b e x^2+4 b f x^3}{\left (a-b x^4\right )^2} \, dx}{8 a b}\\ &=\frac{x \left (b c+a g+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2}+\frac{4 a f+x \left (7 b c-a g+6 b d x+5 b e x^2\right )}{32 a^2 b \left (a-b x^4\right )}-\frac{\int \frac{-3 (7 b c-a g)-12 b d x-5 b e x^2}{a-b x^4} \, dx}{32 a^2 b}\\ &=\frac{x \left (b c+a g+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2}+\frac{4 a f+x \left (7 b c-a g+6 b d x+5 b e x^2\right )}{32 a^2 b \left (a-b x^4\right )}-\frac{\int \left (-\frac{12 b d x}{a-b x^4}+\frac{-3 (7 b c-a g)-5 b e x^2}{a-b x^4}\right ) \, dx}{32 a^2 b}\\ &=\frac{x \left (b c+a g+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2}+\frac{4 a f+x \left (7 b c-a g+6 b d x+5 b e x^2\right )}{32 a^2 b \left (a-b x^4\right )}-\frac{\int \frac{-3 (7 b c-a g)-5 b e x^2}{a-b x^4} \, dx}{32 a^2 b}+\frac{(3 d) \int \frac{x}{a-b x^4} \, dx}{8 a^2}\\ &=\frac{x \left (b c+a g+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2}+\frac{4 a f+x \left (7 b c-a g+6 b d x+5 b e x^2\right )}{32 a^2 b \left (a-b x^4\right )}+\frac{(3 d) \operatorname{Subst}\left (\int \frac{1}{a-b x^2} \, dx,x,x^2\right )}{16 a^2}-\frac{\left (21 b c-5 \sqrt{a} \sqrt{b} e-3 a g\right ) \int \frac{1}{-\sqrt{a} \sqrt{b}-b x^2} \, dx}{64 a^{5/2} \sqrt{b}}+\frac{\left (21 b c+5 \sqrt{a} \sqrt{b} e-3 a g\right ) \int \frac{1}{\sqrt{a} \sqrt{b}-b x^2} \, dx}{64 a^{5/2} \sqrt{b}}\\ &=\frac{x \left (b c+a g+b d x+b e x^2+b f x^3\right )}{8 a b \left (a-b x^4\right )^2}+\frac{4 a f+x \left (7 b c-a g+6 b d x+5 b e x^2\right )}{32 a^2 b \left (a-b x^4\right )}+\frac{\left (21 b c-5 \sqrt{a} \sqrt{b} e-3 a g\right ) \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{64 a^{11/4} b^{5/4}}+\frac{\left (21 b c+5 \sqrt{a} \sqrt{b} e-3 a g\right ) \tanh ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{64 a^{11/4} b^{5/4}}+\frac{3 d \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{16 a^{5/2} \sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.491858, size = 263, normalized size = 1.19 \[ \frac{\frac{4 a^{3/4} \sqrt [4]{b} \left (a^2 (4 f+3 g x)+a b x \left (11 c+x \left (10 d+9 e x+g x^3\right )\right )-b^2 x^5 (7 c+x (6 d+5 e x))\right )}{\left (a-b x^4\right )^2}-\log \left (\sqrt [4]{a}-\sqrt [4]{b} x\right ) \left (12 \sqrt [4]{a} b^{3/4} d+5 \sqrt{a} \sqrt{b} e-3 a g+21 b c\right )+\log \left (\sqrt [4]{a}+\sqrt [4]{b} x\right ) \left (-12 \sqrt [4]{a} b^{3/4} d+5 \sqrt{a} \sqrt{b} e-3 a g+21 b c\right )+12 \sqrt [4]{a} b^{3/4} d \log \left (\sqrt{a}+\sqrt{b} x^2\right )+2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (-5 \sqrt{a} \sqrt{b} e-3 a g+21 b c\right )}{128 a^{11/4} b^{5/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.011, size = 328, normalized size = 1.5 \begin{align*} -{\frac{1}{ \left ( b{x}^{4}-a \right ) ^{2}} \left ({\frac{5\,be{x}^{7}}{32\,{a}^{2}}}+{\frac{3\,bd{x}^{6}}{16\,{a}^{2}}}-{\frac{ \left ( ag-7\,bc \right ){x}^{5}}{32\,{a}^{2}}}-{\frac{9\,e{x}^{3}}{32\,a}}-{\frac{5\,d{x}^{2}}{16\,a}}-{\frac{ \left ( 3\,ag+11\,bc \right ) x}{32\,ab}}-{\frac{f}{8\,b}} \right ) }-{\frac{3\,g}{64\,b{a}^{2}}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}} \right ) }+{\frac{21\,c}{64\,{a}^{3}}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}} \right ) }-{\frac{3\,g}{128\,b{a}^{2}}\sqrt [4]{{\frac{a}{b}}}\ln \left ({ \left ( x+\sqrt [4]{{\frac{a}{b}}} \right ) \left ( x-\sqrt [4]{{\frac{a}{b}}} \right ) ^{-1}} \right ) }+{\frac{21\,c}{128\,{a}^{3}}\sqrt [4]{{\frac{a}{b}}}\ln \left ({ \left ( x+\sqrt [4]{{\frac{a}{b}}} \right ) \left ( x-\sqrt [4]{{\frac{a}{b}}} \right ) ^{-1}} \right ) }-{\frac{3\,d}{32\,{a}^{2}}\ln \left ({ \left ( -a+{x}^{2}\sqrt{ab} \right ) \left ( -a-{x}^{2}\sqrt{ab} \right ) ^{-1}} \right ){\frac{1}{\sqrt{ab}}}}-{\frac{5\,e}{64\,b{a}^{2}}\arctan \left ({x{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+{\frac{5\,e}{128\,b{a}^{2}}\ln \left ({ \left ( x+\sqrt [4]{{\frac{a}{b}}} \right ) \left ( x-\sqrt [4]{{\frac{a}{b}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.08181, size = 595, normalized size = 2.69 \begin{align*} -\frac{\sqrt{2}{\left (12 \, \sqrt{2} \sqrt{-a b} b^{2} d - 21 \, \left (-a b^{3}\right )^{\frac{1}{4}} b^{2} c + 3 \, \left (-a b^{3}\right )^{\frac{1}{4}} a b g - 5 \, \left (-a b^{3}\right )^{\frac{3}{4}} e\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x + \sqrt{2} \left (-\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (-\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{128 \, a^{3} b^{3}} - \frac{\sqrt{2}{\left (12 \, \sqrt{2} \sqrt{-a b} b^{2} d - 21 \, \left (-a b^{3}\right )^{\frac{1}{4}} b^{2} c + 3 \, \left (-a b^{3}\right )^{\frac{1}{4}} a b g - 5 \, \left (-a b^{3}\right )^{\frac{3}{4}} e\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x - \sqrt{2} \left (-\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (-\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{128 \, a^{3} b^{3}} + \frac{\sqrt{2}{\left (21 \, \left (-a b^{3}\right )^{\frac{1}{4}} b^{2} c - 3 \, \left (-a b^{3}\right )^{\frac{1}{4}} a b g - 5 \, \left (-a b^{3}\right )^{\frac{3}{4}} e\right )} \log \left (x^{2} + \sqrt{2} x \left (-\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{-\frac{a}{b}}\right )}{256 \, a^{3} b^{3}} - \frac{\sqrt{2}{\left (21 \, \left (-a b^{3}\right )^{\frac{1}{4}} b^{2} c - 3 \, \left (-a b^{3}\right )^{\frac{1}{4}} a b g - 5 \, \left (-a b^{3}\right )^{\frac{3}{4}} e\right )} \log \left (x^{2} - \sqrt{2} x \left (-\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{-\frac{a}{b}}\right )}{256 \, a^{3} b^{3}} - \frac{5 \, b^{2} x^{7} e + 6 \, b^{2} d x^{6} + 7 \, b^{2} c x^{5} - a b g x^{5} - 9 \, a b x^{3} e - 10 \, a b d x^{2} - 11 \, a b c x - 3 \, a^{2} g x - 4 \, a^{2} f}{32 \,{\left (b x^{4} - a\right )}^{2} a^{2} b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]